<template>
  <div class="wrap">
    <header>
      <div class="headertop">
        <div class="header-img">
          <v-back></v-back>
        </div>
        <h1>
          <v-title></v-title>
        </h1>
        <div class="topradius">
          <i class="iconfont icon-xiaochengxu-gengduo"></i>
          <i class="topborder"></i>
          <i class="iconfont icon-xiaochengxu-guanbi"></i>
        </div>
      </div>
      <div class="me-infor">
        <div class="infor-top">
          <div class="photo">
            <img src="../assets/Image/tx.jpg" alt="" />
            <div>
              <p>代用名</p>
              <p>完善资料让小U更懂您</p>
            </div>
          </div>
          <div class="hb">
            <div class="qd">
              <img src="../assets/Image/m-index/hb.png" alt="" />
              <i>每日签到</i>
            </div>
          </div>
        </div>
        <div class="infor-middle">
          <div>
            <p>12</p>
            <p>我的收藏</p>
          </div>
          <div>
            <p>12</p>
            <p>浏览记录</p>
          </div>
          <div>
            <p>0</p>
            <p>我的红包</p>
          </div>
          <div>
            <p>12</p>
            <p>优惠券</p>
          </div>
        </div>
        <div class="infor-bottom">
          <p class="dd-top">我的订单<span>全部订单 ></span></p>
          <div class="dd-infor">
            <div>
              <img src="../assets/Image/m-index/me1.png" alt="" />
              <p>待付款</p>
            </div>
            <div>
              <img src="../assets/Image/m-index/me2.png" alt="" />
              <p>待收货</p>
            </div>
            <div>
              <img src="../assets/Image/m-index/me3.png" alt="" />
              <p>评价</p>
            </div>
            <div>
              <img src="../assets/Image/m-index/me4.png" alt="" />
              <p>售后</p>
            </div>
          </div>
        </div>
      </div>
    </header>
    <div class="me-con">
      <div class="me-txt">
        <div>
          <img src="../assets/Image/m-index/dd1.png" alt="" />
          <i>地址管理</i>
          <span>></span>
        </div>
        <div>
          <img src="../assets/Image/m-index/dd2.png" alt="" />
          <i>我的钱包</i>
          <span>剩余200U币></span>
        </div>
        <div>
          <img src="../assets/Image/m-index/dd3.png" alt="" />
          <i>我的二维码</i>
          <span>></span>
        </div>
        <div>
          <img src="../assets/Image/m-index/dd4.png" alt="" />
          <i>我的小伙伴</i>
          <span>></span>
        </div>
        <div>
          <img src="../assets/Image/m-index/dd5.png" alt="" />
          <i>0元试用</i>
          <span>></span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style scoped>
.me-infor {
  height: 4.2rem;
  background-image: linear-gradient(180deg, #ff6040 0%, #ff8a80 100%);
  box-shadow: 0 2px 6px 0 rgba(255, 149, 128, 0.5);
  padding: 0.2rem 0 0 0.2rem;
  box-sizing: border-box;
}
.infor-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.infor-top .hb {
  flex: 1;
}
.photo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.photo img {
  width: 1.28rem;
  border-radius: 50%;
}
.photo p:first-of-type {
  font-size: 0.36rem;
  color: #ffffff;
  line-height: 0.36rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}
.photo p:last-child {
  font-size: 10px;
  color: #ffffff;
  line-height: 10px;
  border: 1px solid #fff;
  padding: 0.06rem;
  border-radius: 4px;
}
.qd {
  font-size: 0.2rem;
  color: #ff6243;
  float: right;
  line-height: 0.2rem;
  background: #ffd4cc;
  border: 0 solid #ffffff;
  border-radius: 10px 0 0 10px;
  width: 1.56rem;
  height: 0.4rem;
  line-height: 0.4rem;
}
.qd img {
  vertical-align: initial;
  margin-left: 0.16rem;
}

.infor-middle {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 0.3rem;
}
.infor-middle div p:first-child {
  font-size: 0.36rem;
  color: #ffffff;
  line-height: 0.28rem;
  margin-bottom: 0.1rem;
}
.infor-middle div p:last-child {
  font-size: 0.2rem;
  color: #ffffff;
  line-height: 0.2rem;
}

.infor-bottom {
  margin: 0.2rem;
  padding: 0.2rem;
  background-color: #fff;
  border-radius: 0.08rem;
  height: 2.06rem;
  box-sizing: border-box;
  position: relative;
}
.dd-top {
  font-size: 0.32rem;
  color: #333333;
  line-height: 0.32rem;
  margin-bottom: 0.3rem;
}
.dd-top span {
  font-size: 0.24rem;
  color: #ff6040;
  line-height: 0.24rem;
  float: right;
}
.dd-infor {
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.dd-infor p {
  font-size: 0.2rem;
  color: #333333;
  line-height: 0.2rem;
  margin-top: 0.1rem;
}
.me-con {
  background-color: #f2f2f2;
  padding: 0.72rem 0;
  height: 8.62rem;
}
.me-txt {
  padding: 0.4rem 0.2rem;
  background-color: #fff;
}
.me-txt div {
  margin-bottom: 0.4rem;
}
.me-txt div:last-child {
  margin-bottom: 0;
}
.me-txt span {
  float: right;
  color: #666;
}
.me-txt i {
  font-size: 0.24rem;
  color: #333333;
  line-height: 0.24rem;
}
</style>
